package ch14;

import javax.ejb.EJBObject;
import java.rmi.RemoteException;

public interface UserInfo extends EJBObject
{
  public int getNumberOfLogins() throws RemoteException;
  public boolean login() throws RemoteException;
  public void logout() throws RemoteException;
  public void setLoginAllowed(boolean isAllowed) throws RemoteException;
}

